<!--{include header}-->
<div class="login-title">
	<h1><div>&nbsp;&nbsp;</div>帐号管理</h1>
</div>

<div class="left">
	<div class="left-menu">
		<!--{include menu-setting}-->
	</div>
</div>


<div class="right">
	<form action="" method="post" class="validator">
		<table class="setting-user-table" style="margin-top:20px;margin-bottom:20px">
			<tr height=50>
				<td align=right>用户名：</td>
				<td><input type="text" size="30" name="username" id="settings-username" value="{$login_user['username']}" require="true" datatype="limit" min="6" max="18" maxLength="16" /></td>
			</tr>
			<tr height=50>
				<td align=right>邮箱：</td>
				<td><input value="{$login_user['email']}" readonly disabled /></td>
			</tr>
			<tr height=50>
				<td align=right>手机号码：</td>
				<td><input type="text" size="30" name="mobile" id="settings-mobile" class="number" value="{$login_user['mobile']}" require="true" datatype="mobile" msg="手机格式不对" /></td>
			</tr>
			<tr height=50>
				<td align=right>当前密码：</td>
				<td><input type="password" size="30" name="oldpassword" id="settings-password-old" class="f-input" require="true" datatype="require" /></td>
			</tr>
			<tr height=50>
				<td align=right>更改密码：</td>
				<td><input type="password" size="30" name="password" id="settings-password" class="f-input" /><span>如果您不想修改密码，请保持空白</span></td>
			</tr>
			<tr height=50>
				<td align=right>确认密码：</td>
				<td><input type="password" size="30" name="password2" id="settings-password-confirm" class="f-input" /><span>如果您不想修改密码，请保持空白</span></td>
			</tr>
			<tr height=50>
				<td align=right></td>
				<td><input type="submit" value="提交" style="width:100px;height:35px;background:#2D710C;color:#fff" /></td>
			</tr>
		</table>
	</form>
</div>

<div style="clear:both"></div>

<script>
	function reset_token(user_id){
		var returnVal = window.confirm("重置Token后，也需要登录微信后台做相应修改，确定吗？", "提示");
        if(returnVal) {
             return !X.get(WEB_ROOT + '/ajax/ajax.php?action=reset_token&user_id=' + user_id);
        }
	}
</script>


<!--{include footer}-->